WSAL\Helpers\Settings_Helper D

Total Complexity 235
Dependencies 9
Dependents 38
Total lines 1,670
Lines of code 771
Logical lines of code 423
Comment lines 584
Methods 60
Properties 13

Methods 60

Method Rating Maintainability Complexity Lines of code
user_can()
C
38 24 70
get_working_dir_path_static()
A
44 14 42
get_mysql_connections_exclude_by_type()
A
48 12 32
check_ipv4_in_range()
A
45 11 38
set_excluded_monitoring_roles()
A
50 8 30
set_excluded_monitoring_users()
A
50 8 30
set_excluded_user_meta_fields()
A
49 8 30
set_excluded_post_meta_fields()
A
50 8 30
set_pruning_date_settings()
A
46 7 43
get_datetime_format()
S
52 7 24
is_database_logging_enabled()
S
54 7 21
get_client_ips()
S
51 6 28
set_option_value_internal()
S
56 6 18
get_main_client_ip()
S
57 6 16
string_to_bool()
S
75 7 3
get_all_not_used_as_mirrors_connections()
S
58 6 15
get_disabled_alerts()
S
59 5 14
get_option_value_internal()
S
60 5 13
get_default_connection_for_type()
S
60 4 14
get_excluded_user_meta_fields()
S
61 4 12
get_option_value()
S
63 4 10
get_excluded_monitoring_roles()
S
64 3 10
get_excluded_monitoring_users()
S
64 3 10
get_connection_by_name()
S
65 3 9
get_excluded_post_types()
S
65 3 9
set_option_value()
S
67 3 7
bool_to_string()
S
69 3 6
is_archiving_set_and_enabled()
S
78 3 3
determine_added_and_removed_items()
S
65 3 8
get_frontend_events()
S
63 2 11
delete_all_settings()
S
65 2 9
get_allowed_plugin_viewers()
S
69 2 6
get_time_format()
S
64 2 9
get_date_format()
S
71 2 6
get_options_by_prefix()
S
64 2 9
get_excluded_monitoring_ip()
S
69 2 6
get_all_connections()
S
66 2 8
convert_name_prefix_if_needed()
S
68 2 7
normalize_ip()
S
64 2 9
get_excluded_post_meta_fields()
S
67 2 7
get_all_mirrors()
S
66 2 8
tidy_blank_values()
S
77 2 3
get_ipv4_by_range()
S
61 1 11
is_request_logging_enabled()
S
79 1 3
get_show_milliseconds()
S
78 1 3
set_disabled_alerts()
S
74 1 4
current_user_can()
S
78 1 3
set_boolean_option_value()
S
78 1 3
get_default_disabled_alerts()
S
77 1 3
get_default_always_disabled_alerts()
S
80 1 3
get_timezone()
S
78 1 3
get_notifications_setting()
S
66 1 8
set_frontend_events()
S
75 1 4
is_archiving_enabled()
S
79 1 3
delete_option_value()
S
80 1 3
is_archiving_stopped()
S
79 1 3
set_excluded_monitoring_ips()
S
71 1 5
count_notifications()
S
66 1 8
get_notification()
S
71 1 5
get_boolean_option_value()
S
78 1 3